chore(deps): update dependency @rspack/core to v2#62
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
5dbbc55 to
0c0fe60
Compare
d9f975c to
8d90a6b
Compare
8d90a6b to
d619cb4
Compare
d619cb4 to
1a97be4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.7.7→^2.0.0Release Notes
web-infra-dev/rspack (@rspack/core)
v2.0.5Compare Source
Highlights
Support
import.meta.globRspack now supports
import.meta.glob, a file-system import API already available in Vite and Turbopack. We chose to align with this ecosystem behavior.More controllable CSS module parsing
CSS modules can now control parsing for
@import, animations, custom idents, and dashed idents throughmodule.parser, so projects can match existing CSS Modules behavior more closely while migrating to Rspack.What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Document 📖
Other Changes
Full Changelog: web-infra-dev/rspack@v2.0.4...v2.0.5
v2.0.4Compare Source
Highlights 💡
Inline const with module declarations (#14032): Previously, Rspack only inlined constant exports from leaf modules in the module graph. Now constant exports from any module can be inlined, even when that module also imports or re-exports other modules. In rare circular-reference cases this can make a TDZ error disappear, but we do not expect real projects to rely on TDZ errors, so Rspack prioritizes the optimization.
Tree shake namespace default reexport (#13980): Previously, the
import * as a from './a'; export default a;pattern did not tree-shakeathrough the default export. Now Rspack further analyzes the default-exported namespace object and can remove unused exports from the original namespace module.CSS global module type (#13988):
css/globalis useful when most selectors in a stylesheet should stay global, but you still want CSS Modules features for selected local selectors. This makes it easier to migrate existing global CSS gradually without turning every class name into a local scoped name..buttonstays global, while.titleis renamed as a local class.CSS Modules local ident options (#14009): CSS Modules now support local ident hash options such as hash function, digest, digest length, and salt. These options make generated class names more configurable and better aligned with webpack-compatible CSS Modules setups.
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Document 📖
Other Changes
Full Changelog: web-infra-dev/rspack@v2.0.3...v2.0.4
v2.0.3Compare Source
What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
Full Changelog: web-infra-dev/rspack@v2.0.2...v2.0.3
v2.0.2Compare Source
What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Document Updates 📖
Other Changes
New Contributors
Full Changelog: web-infra-dev/rspack@v2.0.1...v2.0.2
v2.0.1Compare Source
What's Changed
Performance Improvements ⚡
New Features 🎉
Bug Fixes 🐞
Refactor 🔨
Document Updates 📖
Other Changes
New Contributors
Full Changelog: web-infra-dev/rspack@v2.0.0...v2.0.1
v2.0.0Compare Source
If you want to rebase/retry this PR, check this boxThis PR was generated by Mend Renovate. View the repository job log.